<!--{template admin/header}-->
<body id="homepage">
    <div id="breadcrumb">
        <ul>
            <li><img src="static/img/icons/icon_breadcrumb.png"
                     alt="Location" /></li>
            <li><strong>位置:</strong></li>
            <li><a href="home.html">主页</a> - 举报</li>
        </ul>
    </div>
    <div id="rightside">
        <div class="contentcontainer">
            <div class="headings altheading">
                <h2>举报列表</h2>
            </div>
            <div class="contentbox">
                <div class="extrabottom">
                    <form method="get" action="admin.php">用户昵称:<input type="text"
                                                                      name="nickname" value="$_GET[nickname]" class="inputbox smallbox" />
                        用户Uid:<input type="text" name="uid" value="$_GET[uid]"
                                     class="inputbox smallbox" /> <select name="perpage">
                            <option value="20"$perpages[20]>每页显示20个</option>
                            <option value="50"$perpages[50]>每页显示50个</option>
                            <option value="100"$perpages[100]>每页显示100个</option>
                        </select> <input type="submit" value="查找用户" class="btn" /> <input
                            type="hidden" name="ac" value="inform" />
                        <a href="admin.php?ac=user" class="btn">清空条件</a>
                    </form>
                </div>
                <div style="clear: both;"></div>
                <table width="100%">
                    <thead>
                        <tr>
                            <th>受害人</th>
                            <th>被举报人</th>
                            <th>举报原因</th>
                            <th>举报时间</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <!--{eval $i=0;}-->
                        <!--{loop $list $value}-->
                        <!--{eval $i++;}-->
                        <tr <!--{eval echo showRowHilite($i); }--> >
                            <td><a href="admin.php?ac=diary&uid={$value[informUid]}" >{$value[informUid]}/{$value[informNickname]}</a></td>
                            <td><a
                                    href="admin.php?ac=diary&uid={$value[informedUid]}" ">
                                    $value[informedUid]/$value[informedNickname];
                            </a></td>
                        <td>
                            <!--{eval echo $value[informReason];}-->
                        </td>
                        <td>
                            <!--{date('Y-m-d H:i',$value[time])}-->
                        </td>
                        <td>
                            <a href="admin.php?ac=user&uid={$value[informedUid]}"><img
                                    src="static/img/icons/gif_delete.gif" width="24" height="24"/></a>
                            <!--                            {if $value[status] > 0}
                                                        <a href="admin.php?ac=inform&op=chain&uid={$value[informedUid]}&status=0"
                            title="解封" onclick="ajaxget(this.href);return false;">
                            <img src="static/img/icons/gif_recommend.gif" width="24" height="24" /></a>
                                                        {else}
                                                        <a href="admin.php?ac=inform&op=chain&uid={$value[informedUid]}&status=1" 
                            title="封禁" onclick="ajaxget(this.href);return false;">
                            <img src="static/img/icons/gif_delete.gif" width="24" height="24" /></a>
                                                        {/if}-->
                        </td>
                    </tr>
                    <!--{/loop}-->
                </tbody>
            </table>
            <div class="extrabottom">
                <ul>
                    <li><img src="static/img/icons/gif_people.gif" />作者信息</li>
                    <li><img src="static/img/icons/gif_view.gif" />阅读日记</li>
                    <li><img src="static/img/icons/gif_recommend.gif" /> 设为精选</li>
                    <li><img src="static/img/icons/gif_delete.gif" /> 删除日记</li>
                    <li><img src="static/img/icons/gif_net_sync.gif" /> 同步</li>
                    <li><img src="static/img/icons/gif_net_pub.gif" /> 公开</li>
                </ul>
                <div class="bulkactions">
                    <ul class="pagination">
                        <!--{if $prevpurl!=''}-->
                        <li class="text"><a href="{$firstpurl}" title="">第一页</a></li>
                        <li class="text"><a href="{$prevpurl}" title="">上一页</a></li>
                        <!--{/if}-->
                        <li class="text"><a href="{$nextpurl}" title="">下一页</a></li>
                    </ul>
                    <div style="clear: both;"></div>
                </div>
            </div>
            <div style="clear: both;"></div>
        </div>
    </div>


</div>
<!--{template admin/leftside}-->
<!--{template admin/footer}-->